<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>侧边栏-PLAT</title>
</head>
<body>

<th:block th:fragment="sidebar"
          th:with="kwsURL=${session.KWS.value},platURL = ${session.PLAT.value},remindURL = ${session.REMIND.value},xnoURL = ${session.XNO.value},mccURL = ${session.MCC.value},vasURL = ${session.VAS.value},umsURL = ${session.UMS.value},awsURL = ${session.AWS.value},gmsURL = ${session.GMS.value},perfURL = ${session.PERFORMANCE!=null?session.PERFORMANCE.value:session.PERF.value},brsURL = ${session.BRS.value}">
    <!-- 基础数据PLAT -->
    <li data-name="plat-menu" class="layui-nav-item">
        <div class="system">基础数据PLAT</div>
        <!-- 订单渠道 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/channel/list.action', '/oneprice/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-group"></i>
                    <cite>渠道管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/channel/list.action')}">
                        <a lay-href="/channel/list.action" target="navTab" rel="w_channel">渠道管理</a>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/oneprice/*.action')}">
                        <a href="javascript:;">试点配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/pilot/channel/price/list.action')}">
                                <a lay-href="/pilot/channel/price/list.action" target="navTab"
                                   rel="w_product">渠道配置</a>
                            </dd>
                        </dl>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/oneprice/city/list.action')}">
                                <a lay-href="/oneprice/city/list.action" target="navTab">城市配置</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>

        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermit('/contract/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-component"></i>
                    <cite>合同管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/contract/record/list.action')}">
                        <a lay-href="/contract/record/list.action">合同列表</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <dl class="layui-nav-child show">
            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/eng/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-theme"></i>
                    <cite>知识中心</cite>
                </a>
                <dl class="layui-nav-child">

                    <dd data-name="button">
                        <a href="javascript:;">工程师知识库</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list">
                                <a th:lay-href="|${kwsURL}/eng/fault/repair/plan/list.action|">故障百科</a>
                            </dd>
                            <dd data-name="list">
                                <a th:lay-href="|${kwsURL}/eng/course/category/list.action|">学习中心</a>
                            </dd>
                            <dd data-name="list">
                                <a th:lay-href="|${kwsURL}/eng/question/category/list.action|">帮助中心</a>
                            </dd>
                        </dl>
                    </dd>

                </dl>
            </dd>
        </dl>


        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermit('/msg/conf/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-component"></i>
                    <cite>公告消息</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/msg/conf/list.action')}">
                        <a lay-href="/msg/conf/list.action">消息配置</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/notice/list.action')}">
                        <a lay-href="/notice/list.action">公告管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/showProduct/*.action', '/showCateg/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-theme"></i>
                    <cite>前台产品</cite>
                </a>
                <dl class="layui-nav-child">

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/showCateg/*.action')}">
                        <a href="javascript:;">产品分类</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/serv/showCateg/list.action')}">
                                <a lay-href="/serv/showCateg/list.action" lay-text="前台服务分类">服务分类</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/showCateg/list.action')}">
                                <a lay-href="/showCateg/list.action" lay-text="前台产品分类">产品分类</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/serv/showCateg/ass/list.action')}">
                                <a lay-href="/serv/showCateg/ass/list.action" target="navTab" rel="w_product"
                                   lay-text="前台分类关联">分类关联</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/showProduct/*.action')}">
                        <a href="javascript:;">产品管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/showProduct/list.action')}">
                                <a lay-href="/showProduct/list.action" target="navTab" rel="w_product"
                                   lay-text="前台产品管理">产品管理</a>
                            </dd>
                            <!--<dd data-name="list" th:if="${#authPermit.checkMenuPermit('/product/serviceitem/list.action')}">-->
                            <!--<a lay-href="/product/serviceitem/list.action?showType=2" target="navTab">基础价格</a>-->
                            <!--</dd>-->
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>


        <!--计价器产品-->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/tariffProduct/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-component"></i>
                    <cite>计价器产品</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/tariffProduct/list.action')}">
                        <a lay-href="/tariffProduct/list.action">产品管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>


        <!-- 产品管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/product/*.action', '/categ/*.action', '/brand/list.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-component"></i>
                    <cite>后台产品</cite>
                </a>
                <dl class="layui-nav-child">

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/categ/*.action')}">
                        <a href="javascript:;">产品分类</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/serv/categ/list.action')}">
                                <a lay-href="/serv/categ/list.action" lay-text="后台服务分类">服务分类</a>
                            </dd>

                            <!-- 推广分类 -->
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermits(false, '/extension/*.action')}">
                                <a href="javascript:;">推广分类</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="list"
                                        th:if="${#authPermit.checkMenuPermit('/extension/serv/category/list.action')}">
                                        <a lay-href="/extension/serv/category/list.action" target="navTab"
                                           lay-text="服务分类">&nbsp;&nbsp;&nbsp;服务分类</a>
                                    </dd>
                                    <dd data-name="list"
                                        th:if="${#authPermit.checkMenuPermit('/extension/category/list.action')}">
                                        <a lay-href="/extension/category/list.action" target="navTab" lay-text="推广分类">&nbsp;&nbsp;&nbsp;推广分类</a>
                                    </dd>
                                    <dd data-name="list"
                                        th:if="${#authPermit.checkMenuPermit('/extension/serv/category/group/list.action')}">
                                        <a lay-href="/extension/serv/category/group/list.action" target="navTab"
                                           lay-text="分类关联">&nbsp;&nbsp;&nbsp;分类关联</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/categ/list.action')}">
                                <a lay-href="/categ/list.action" lay-text="后台产品分类">产品分类</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/serv/categ/ass/list.action')}">
                                <a lay-href="/serv/categ/ass/list.action" lay-text="后台分类关联" target="navTab"
                                   rel="w_product">分类关联</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/product/*.action')}">
                        <a href="javascript:;">产品管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/product/list.action')}">
                                <a lay-href="/product/list.action" target="navTab" rel="w_product" lay-text="后台产品管理">产品管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/warranty/content/list.action')}">
                                <a lay-href="/warranty/content/list.action" target="navTab">保修内容</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/product/businessline/list.action')}">
                        <a lay-href="/product/businessline/list.action" lay-text="业务线">业务线</a>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/product/productgroup/list.action')}">
                        <a lay-href="/product/productgroup/list.action" lay-text="产品组">产品组</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!--增值产品-->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/vas/product/*')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-component"></i>
                    <cite>增值产品</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermit('/vas/product/productManagerList/listPageProduct')}">
                        <a th:lay-href="|${vasURL}/vas/product/list.html|">增值产品管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>
        <!--价格管理-->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/service/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-component"></i>
                    <cite>价格管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/service/tariff/list.action')}">
                        <a lay-href="/service/tariff/list.action">价格表管理</a>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/service/category/list.action')}">
                        <a lay-href="/service/category/list.action">项目类型</a>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/product/tariff/item/price.action')}">
                        <a lay-href="/product/tariff/item/price.action">执行价格</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 系数管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false,'/product/citypriceratio/list.action','/brand/ratio/list.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-home"></i>
                    <cite>基础配置</cite>
                </a>

                <dl class="layui-nav-child">
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermit('/product/citypriceratio/list.action')}">
                        <a lay-href="/product/citypriceratio/list.action">城市系数</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/brand/ratio/list.action')}">
                        <a lay-href="/brand/ratio/list.action" target="navTab" lay-text="品牌系数">品牌系数</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/difficult/ratio/list.action')}">
                        <a lay-href="/difficult/ratio/list.action" target="navTab" lay-text="难度系数">难度系数</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/unit/list.action')}">
                        <a lay-href="/unit/list.action" target="navTab" lay-text="单位配置">单位配置</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 店铺管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermit('/brand/list.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-home"></i>
                    <cite>品牌管理</cite>
                </a>

                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/brand/list.action')}">
                        <a lay-href="/brand/list.action">品牌管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermit('/xno/*')}">
                <a href="javascript:;" lay-tips="隐私小号" lay-direction="2">
                    <i class="layui-icon layui-icon-read"></i>
                    <cite>隐私小号</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="xnoManage" th:if="${#authPermit.checkMenuPermit('/xno/manage/list')}">
                        <a th:lay-href="|${xnoURL}/manage/list.action|" lay-text="小号管理">小号管理</a>
                    </dd>
                    <!--                    <dd data-name="xnoManage" th:if="${#authPermit.checkMenuPermit('/xno/manage/bind/city/list')}">-->
                    <!--                        <a th:lay-href="|${xnoURL}/manage/bind/city/list.action|" lay-text="指定城市配置">指定城市配置</a>-->
                    <!--                    </dd>-->
                    <dd data-name="xnoBandManage" th:if="${#authPermit.checkMenuPermit('/xno/manage/bind/list')}">
                        <a th:lay-href="|${xnoURL}/manage/bind/list.action|" lay-text="绑定管理">绑定管理</a>
                    </dd>
                    <dd data-name="xnoRecord" th:if="${#authPermit.checkMenuPermit('/xno/record/list')}">
                        <a th:lay-href="|${xnoURL}/record/list.action|" lay-text="通话记录">通话记录</a>
                    </dd>
                    <dd data-name="xnoReport" th:if="${#authPermit.checkMenuPermit('/xno/report/list')}">
                        <a th:lay-href="|${xnoURL}/report/list.action|" lay-text="小号报表">小号报表</a>
                    </dd>
                    <dd data-name="tapeRedownload" th:if="${#authPermit.checkMenuPermit('/manage/tape/record/list')}">
                        <a th:lay-href="|${xnoURL}/manage/tape/record/list.action|" lay-text="通话录音下载">通话录音下载</a>
                    </dd>
                    <dd data-name="xnoSwitch" th:if="${#authPermit.checkMenuPermit('/xnoPlat/list')}">
                        <a th:lay-href="|${xnoURL}/xnoPlat/list|" lay-text="小号开通">小号开通</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 订单配置 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/orderconfig/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-set-fill"></i>
                    <cite>订单配置</cite>
                </a>
                <dl class="layui-nav-child">
                    
                    <!--基础数据-订单配置-收单配置-->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/oms/conf/checkout/list.action')}">
                        <a href="javascript:;">收单配置</a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a th:lay-href="|${session.OMS.value}/conf/checkout/list.action|">收单配置</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/orderconfig/*.action')}">
                        <a href="javascript:;">取消配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/cancelCategory/list.action')}">
                                <a lay-href="/orderconfig/cancelCategory/list.action" lay-text="取消分类">取消分类</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/cancelReason/list.action')}">
                                <a lay-href="/orderconfig/cancelReason/list.action" lay-text="取消缘由">取消缘由</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/orderconfig/*.action')}">
                        <a href="javascript:;">转单配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/plat/biztype/detail.action')}">
                                <a lay-href="/plat/biztype/detail.action" lay-text="平台业务类型">平台业务类型</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/plat/serv/category/servCategory.action')}">
                                <a lay-href="/plat/serv/category/servCategory.action">平台开通分类</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/plat/contract/model/detail.action')}">
                                <a lay-href="/plat/contract/model/detail.action" lay-text="服务合同模式">服务合同模式</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermits(false, '/orderconfig/trackCategory/list.action', '/orderconfig/track/list.action','/orderconfig/trackReason/list.action')}">
                        <a href="javascript:;">跟单配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/trackCategory/list.action')}">
                                <a lay-href="/orderconfig/trackCategory/list.action" lay-text="跟单类型">跟单类型</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/track/list.action')}">
                                <a lay-href="/orderconfig/track/list.action" lay-text="跟单内容">跟单内容</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/trackReason/list.action')}">
                                <a lay-href="/orderconfig/trackReason/list.action" lay-text="跟单缘由">跟单缘由</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/documentarycontent/list.action')}">
                                <a lay-href="/orderconfig/documentarycontent/list.action" lay-text="跟单配置(旧)">跟单配置(旧)</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/orderconfig/*.action')}">
                        <a href="javascript:;">回访配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/returnvisit/question/list.action')}">
                                <a lay-href="/orderconfig/returnvisit/question/list.action" lay-text="回访问题配置">回访问题配置</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/returnvisit/answer/list.action')}">
                                <a lay-href="/orderconfig/returnvisit/answer/list.action" lay-text="回访答案配置">回访答案配置</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/returnvisit/category/list.action')}">
                                <a lay-href="/orderconfig/returnvisit/category/list.action" lay-text="回访类别配置">回访类别配置</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/orderconfig/comment/list.action')}">
                        <a lay-href="/orderconfig/comment/list.action">评价内容</a>
                    </dd>


                    <!-- 新投诉配置-->
                    <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermits(false,'/chs/content/list/index.action','chs/handle/plan/config/list/index.action',
                        'chs/complain/notifier/list/index.action','/chs/popular/feelings/config/list/index.action','/chs/zmn/appeal/validity/period/config/list/index.action',
                        '/chs/yeyx/appeal/validity/period/config/list/index.action', '/chs/cnhb/appeal/validity/period/config/list/index.action',
                        '/chs/level/fine/config/list/index.action','/chs/category/list/index.action')}">
                                <a href="javascript:;">新投诉配置</a>
                                <dl class="layui-nav-child">
                                    <dd th:if="${#authPermit.checkMenuPermit('/chs/content/list/index.action')}" data-name="button">
                                        <a th:lay-href="|${umsURL}/chs/content/list/index.action|" lay-text="投诉内容配置">投诉内容配置</a>
                                    </dd>
                                    <dd th:if="${#authPermit.checkMenuPermit('/chs/handle/plan/config/list/index.action')}" data-name="button">
                                        <a th:lay-href="|${umsURL}/chs/handle/plan/config/list/index.action|" lay-text="处理方案配置">处理方案配置</a>
                                    </dd>
                                    <dd th:if="${#authPermit.checkMenuPermit('/chs/complain/notifier/list/index.action')}" data-name="button">
                                        <a th:lay-href="|${umsURL}/chs/complain/notifier/list/index.action|" lay-text="投诉通知人配置">投诉通知人配置</a>
                                    </dd>
                                    <dd th:if="${#authPermit.checkMenuPermit('/chs/popular/feelings/config/list/index.action')}" data-name="button">
                                        <a th:lay-href="|${umsURL}/chs/popular/feelings/config/list/index.action|" lay-text="舆情影响配置">舆情影响配置</a>
                                    </dd>

                                    <dd th:if="${#authPermit.checkMenuPermits(false, '/chs/zmn/appeal/validity/period/config/list/index.action',
                    '/chs/yeyx/appeal/validity/period/config/list/index.action', '/chs/cnhb/appeal/validity/period/config/list/index.action')}" data-name="button">
                                        <a th:lay-href="|${umsURL}/chs/appeal/validity/period/config/list/index.action?plat=10|" lay-text="申诉有效期配置">申诉有效期配置</a>
                                    </dd>

                                    <dd th:if="${#authPermit.checkMenuPermit('/chs/level/fine/config/list/index.action')}" data-name="button">
                                        <a th:lay-href="|${umsURL}/chs/level/fine/config/list/index.action|" lay-text="投诉负激励配置">投诉负激励配置</a>
                                    </dd>
                                    <dd th:if="${#authPermit.checkMenuPermit('/chs/category/list/index.action')}" data-name="button">
                                        <a th:lay-href="|${umsURL}/chs/category/list/index.action?level=1|" lay-text="投诉分类配置">投诉分类配置</a>
                                    </dd>
                                </dl>
                            </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/abnor/abnormal/conf/*.action')}">
                        <a href="javascript:;">异常配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/abnor/category/list.action')}">
                                <a th:lay-href="|${umsURL}/abnor/category/list.action|" lay-text="异常分类">异常分类</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/abnor/content/list.action')}">
                                <a th:lay-href="|${umsURL}/abnor/content/list.action|" lay-text="异常内容">异常内容</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/conf/timeout/')}">
                        <a th:lay-href="|${perfURL}/conf/timeout/|">预警超时配置</a>
                    </dd>

                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/orderconfig/distribute/list.action')}">
                        <a href="javascript:;">派单设置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/distribute/listOfBizTypeC.action')}">
                                <a lay-href="/orderconfig/distribute/listOfBizTypeC.action" lay-text="C端派单">C端派单</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/orderconfig/distribute/listOfBizTypeF.action')}">
                                <a lay-href="/orderconfig/distribute/listOfBizTypeF.action" lay-text="F端派单">F端派单</a>
                            </dd>
                        </dl>
                    </dd>

                    <!--黑名单-->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/blacklist/*.action')}">
                        <a href="javascript:;">下单黑名单</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/blacklist/list.action')}">
                                <a th:lay-href="|${brsURL}/blacklist/list.action?blacklistType=1|">IP黑名单</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/blacklist/list.action')}">
                                <a th:lay-href="|${brsURL}/blacklist/list.action?blacklistType=2|">用户ID黑名单</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/blacklist/list.action')}">
                                <a th:lay-href="|${brsURL}/blacklist/list.action?blacklistType=3|">手机号黑名单</a>
                            </dd>
                        </dl>
                    </dd>
                    <!--白名单-->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/whitelist/*.action')}">
                        <a href="javascript:;">下单白名单</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/whitelist/list.action')}">
                                <a th:lay-href="|${brsURL}/whitelist/list.action?whitelistType=1|">IP白名单</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/whitelist/list.action')}">
                                <a th:lay-href="|${brsURL}/whitelist/list.action?whitelistType=2|">用户ID白名单</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/whitelist/list.action')}">
                                <a th:lay-href="|${brsURL}/whitelist/list.action?whitelistType=3|">手机号白名单</a>
                            </dd>
                        </dl>
                    </dd>

                    <!--订单库存-->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/plat/config/list.action')}">
                        <a th:lay-href="|/plat/config/list.action?pageSize=100|">订单库存</a>
                    </dd>

                    <!--预约设置-->
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermit('/appointment/appointmentsetting/*.action')}">
                        <a href="javascript:;">预约设置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/appointment/appointmentsetting/list.action')}">
                                <a lay-href="/appointment/appointmentsetting/list.action">通用配置</a>
                            </dd>
                        </dl>
                    </dd>

                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermit('/orderconfig/serviceAuditReason/list.action')}">
                        <a lay-href="/orderconfig/serviceAuditReason/list.action">服务审核</a>
                    </dd>

                    <!--机器人电话-->
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermit('/remind/outBound/baseConfig/listBase.action')}">
                        <a th:lay-href="|${remindURL}/remind/outBound/baseConfig/listBase.action|">机器人电话</a>
                    </dd>

                    <!--在线客服分组-->
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermit('/online/service/group/list.action')}">
                        <a lay-href="/online/service/group/list.action">在线客服分组</a>
                    </dd>
                </dl>
            </dd>
        </dl>


        <!-- 店铺管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermit('/shop/list/listData.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-home"></i>
                    <cite>店铺管理</cite>
                </a>

                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/shop/list/listData.action')}">
                        <a th:lay-href="|${session.SAAS.value}/shop/list/listData.action|">店铺管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 城市区域 -->
        <dl class="layui-nav-child show">
            <dd data-name="button" th:if="${#authPermit.checkMenuPermits(false, '/area/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-release"></i>
                    <cite>城市区域</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/area/list.action')}">
                        <a lay-href="/area/list.action">区域管理</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/community/list.action')}">
                        <a th:lay-href="|${awsURL}/community/list.action|">小区管理</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/place/list.action')}">
                        <a th:lay-href="|${awsURL}/place/list.action|">公共区管理</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/grid/*.action')}">
                        <a href="javascript:;">网格管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/grid/gridtag/list.action')}">
                                <a th:lay-href="|${gmsURL}/grid/gridtag/list.action|">网格标签</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/grid/editgrid/list.action')}">
                                <a th:lay-href="|${gmsURL}/grid/editgrid/list.action|">网格管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/grid/editoperationlog/list.action')}">
                                <a th:lay-href="|${gmsURL}/grid/editoperationlog/list.action|">变更记录</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>
        <!-- 配件管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/part/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-list"></i>
                    <cite>配件管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/part/list.action')}">
                        <a lay-href="/part/list.action">配件管理</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/part/category/first/list.action')}">
                        <a lay-href="/part/category/first/list.action">配件分类</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/part/category/map/list.action')}">
                        <a lay-href="/part/category/map/list.action">分类关联</a>
                    </dd>
                </dl>
            </dd>
        </dl>
        <!-- 组织关系 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/mc/*.action', '/company/list.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-group"></i>
                    <cite>组织关系</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/organize/tree.action')}">
                        <a th:lay-href="|${mccURL}/organize/tree.action|">组织架构</a>
                    </dd>
                    <!--                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/mc/dept/list.action')}">-->
                    <!--                        <a lay-href="/mc/dept/list.action">部门管理</a>-->
                    <!--                    </dd>-->
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/staff/list.action')}">
                        <a th:lay-href="|${mccURL}/staff/list.action|">员工花名册</a>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/company/list.action')}">
                        <a lay-href="/company/list.action">公司管理</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 系统管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/plat/*.action','/sys/*.action','/staff/log/list.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-set"></i>
                    <cite>系统管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/funswitch/list.action')}">
                        <a lay-href="/funswitch/list.action">公共配置</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/sys/list.action')}">
                        <a th:lay-href="|${mccURL}/sys/list.action|">系统管理</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/module/tree.action')}">
                        <a th:lay-href="|${mccURL}/module/tree.action|">模块管理</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/role/list.action')}">
                        <a th:lay-href="|${mccURL}/role/list.action|">角色管理</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/permit/list.action')}">
                        <a th:lay-href="|${mccURL}/permit/list.action|">权限查询</a>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/staff/log/list.action')}">
                        <a th:lay-href="|${mccURL}/staff/log/list.action|">员工操作日志</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 系统安全 -->
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false, '/brs/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-set"></i>
                    <cite>系统安全</cite>
                </a>

                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/brs/record/list.action')}">
                        <a th:lay-href="|${brsURL}/brs/record/list.action|">安全监控</a>
                    </dd>
                </dl>
            </dd>
        </dl>

    </li>
</th:block>
</body>
</html>
